package com.ybkj.daijia.server.mapper;

import com.ybkj.daijia.server.model.DriverLoginRecord;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DriverLoginRecordMapper {

    /**
     * @param record
     * @return
     */
    int insertRecord(DriverLoginRecord record);

    /**
     * @param id
     * @return
     */
    DriverLoginRecord selectByPrimaryKey(Long id);


    List<DriverLoginRecord> selectList(@Param("companyId") Long[] companyId,
        @Param("param") String param, @Param("offset") Integer offset, @Param("size") Integer size);

    Long countList(@Param("companyId") Long[] companyId, @Param("param") String param);

}
